﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../Content/js/angular1.2.13.js"></script>
</head>
<body>
    <div ng-app="app" ng-controller="FirstContoller">
        
    </div>
    <script>
        angular.module('app', [])
            .controller('FirstController', function ($scope) {
                $scope.counter = 0;
                $scope.add = function (amount) {
                    $scope.counter += amount;
                };
                $scope.subtract = function (amount) {
                    $scope.counter -= ammount;
                }
            })
    </script>
</body>
</html>
